package io.itit.ecp.admin.provide.action.resp;

import io.itit.grass.core.provide.action.resp.UserResp;
import io.itit.grass.dict.starter.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@ApiModel("用户扩展信息响应结果")
public class UserExtResp extends UserResp {

    @ApiModelProperty("数据范围Id")
    private String dataRangeId;

    @ApiModelProperty("数据范围编码")
    private String rangeCode;

    @ApiModelProperty("数据范围名称")
    private String rangeName;

    @ApiModelProperty("数据范围级别(all:全部,project:按项目,edifice:按楼栋,floor:按楼层,room:按空间,company:按公司) >> distCode：ecp-admin.dataRange.rangeLevel")
    @Dict(dictCode = "ecp-admin.dataRange.rangeLevel")
    private String rangeLevel;

}
